#ifndef AD_H
#define AD_H

#include <QMainWindow>




namespace Ui {
class ad;
}

class ad : public QMainWindow
{
    Q_OBJECT

public:
    explicit ad(QWidget *parent = nullptr);
    ~ad();
    //添加键盘按下事件处理函数
    void keyPressEvent(QKeyEvent*);



signals:
    void display(int number);
private slots:
    void on_return_2_clicked();

    void on_enter_clicked();

public:
    Ui::ad *ui;

};

#endif // AD_H
